/* header样式 */
header {
  height: 90px;
}
header a{
  color: #fff;
}
.nav a{
  color: #fff !important;
  text-decoration: none!important;
}
.header{
  width: 80%;
  height: 90px;
  min-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
header img {
    width: 160px;
    height: 60px;
}
header img:hover{
  cursor: pointer;
}
  /* 针对父级元素进行相对定位 */
.nav {
	position: relative;
	margin: 0 auto;
  background: #227274;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
/* 导航部分的处理 */
.nav a {
	width: 150px;
	border-right: 1px dotted #fff;
	line-height: 56px;
	text-align: center;
	font-size: 20px;
  color: #fff;
  text-decoration: none;
}
/* 利用选择器优先级调整当前导航的背景颜色 */
.nav .now {
	background: #227274;
}

/* 针对横线元素进行绝对定位 */
.nav span {
	/*display: none;*/
	position: absolute;
	left: 0;
	bottom: 0;
	width: 150px;
  height: 5px;
  background: linear-gradient(90deg, hsla(0, 0%, 100%, 1) 6%, hsla(175, 98%, 82%, 1) 85%);

}

header .awatar {
  width: 100px;
  height: 56px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
header .awatar:hover span{
  cursor: pointer;
  color: #227274;
}
.awatar span {
  font-size: 65px;
  color: rgb(218, 253, 248);
}
header .left {
  width: 279px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
header .left>span:hover{
    cursor: pointer;
}
.btn {
  width: 179px;
}
.btn span {
  margin-left: -35px;
  font-size: 20px;
}
.btn span:hover {
  cursor: pointer;
}
.btn input {
  height: 30px;
  outline: none;
  border: none;
  box-sizing: content-box;
  padding: 0 0px 0px 10px;
  border-radius: 14px;
  background-color: rgb(218, 253, 248);
}

.main>p{
  font-size: 30px;
  text-align: center;
  margin: 80px 0 50px 0;
}
html {
  position: relative;
}
#link-1 {

  position: fixed;
  right: 50px;
  top: 740px;

  text-decoration: none;
  font-size: 1rem;
  color: hsl(0, 0%, 100%) !important;
  background: linear-gradient(to right bottom,
          hsl(258, 50%, 50%),
          hsl(186, 50%, 50%));
  box-shadow: 0.4rem 0.4rem 2.4rem 0.2rem hsla(236, 50%, 50%, 0.3);
  border-radius: 100rem;
  padding: 12px 36px;
  transition: 0.2s;
}

#link-1:hover,
#link-1:focus {
  -webkit-transform: translateY(-0.2rem);
  transform: translateY(-0.2rem);
  box-shadow: 0 0 4.4rem 0.2rem hsla(236, 65%, 50%, 0.4);
}
#link-2 {
  position: fixed;
  right: 50px;
  top: 680px;
  text-decoration: none;
  font-size: 1rem;
  color: hsl(0, 0%, 100%) !important;
  background: linear-gradient(to right bottom,
          hsl(258, 50%, 50%),
          hsl(186, 50%, 50%));
  box-shadow: 0.4rem 0.4rem 2.4rem 0.2rem hsla(236, 50%, 50%, 0.3);
  border-radius: 100rem;
  padding: 12px 36px;
  transition: 0.2s;
}

#link-2:hover,
#link-2:focus {
  -webkit-transform: translateY(-0.2rem);
  transform: translateY(-0.2rem);
  box-shadow: 0 0 4.4rem 0.2rem hsla(236, 65%, 50%, 0.4);
}